package com.bub.pay.core.entity.vo.user;


import com.bub.pay.framework.common.base.BaseVo;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 修改用户密码VO
 */
public class UpdateUserPasswordVo extends BaseVo {

	/**
	 * 用户ID
	 */
	@NotNull(message = "用户ID不能为空")
	private Long userId;

	/**
	 * 密码
	 */
	@NotEmpty(message = "密码不能为空")
	private String password;

	/**
	 * 谷歌验证码
	 */
	@NotNull(message = "谷歌验证码不能为空")
	private Integer googleCode;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getGoogleCode() {
		return googleCode;
	}

	public void setGoogleCode(Integer googleCode) {
		this.googleCode = googleCode;
	}
}
